<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title>云南公安网安大数据安全监管平台</title>
  <link rel="stylesheet" href="../../assets/css/uikit.css">
  <link rel="stylesheet" href="../../assets/css/style.css">
  <link rel="stylesheet" href="../../assets/icons/style.css">
  <script src="../../scripts/jquery-1.11.3.min.js"></script>
  <script src="nav.js"></script>
  <script src="../../scripts/plugins/jquery.icheck.min.js"></script>
  <script src="../../scripts/plugins/jquery.tablesort.min.js"></script>
  <script src="../../scripts/lib/echarts-3.3.1/echarts.js"></script>
  <script src="../../scripts/plugins/jquery.mCustomScrollbar.concat.min.js"></script>
</head>
<body class="sys-body" style="overflow:hidden;">
  <div class="sys-header">
    <div class="sys-logo">
      <h1>云南公安网安大数据安全监管平台</h1>
    </div>

    <div class="sys-menu" id="sys-menu">
      <ul>
        <li>loading......</li>
      </ul>
      <div class="curLine"></div>
    </div>
    <div class="sys-topbar">
      <img src="../../assets/images/_userphoto.png"><span><a href="javascript:void(0);">Admin</a><a href="javascript:void(0);"> 【注销】</a></span>
    </div>
  </div>
  <div class="sys-sidebar">
    <div class="toggle-sidebar"><i class="icon-toleft"></i></div>
    <ul>
      <li class="active"><a href="log-probe-hbase.html"><i class="icon-track-changes"></i><span>探针审计日志</span></a><em class="open"></em>
        <ul>
          <li><a href="log-probe-hbase.html">Hbase访问日志</a></li>
          <li><a href="log-probe-solr.html">Solr访问日志</a></li>
          <li><a href="log-probe-mysql.html">MySQL访问日志</a></li>
          <li><a href="log-probe-mongodb.html">MongoDB访问日志</a></li>
          <li class="active"><a href="log-probe-ftp.html">FTP采集日志</a></li>
        </ul>
      </li>

      <li> <a href="log-dbstatic-hbase.html"><i class="icon-file-text2"></i><span>脱敏审计日志</span></a><em class="open"></em>
        <ul>
          <li><a href="log-dbstatic-hbase.html">数据库静态脱敏</a>
            <ul class="lastmenu">
              <li> <a href="log-dbstatic-hbase.html">Hbase</a></li>
              <li> <a href="log-dbstatic-solr.html">Solr</a></li>
              <li><a href="log-dbstatic-mysql.html">MySql</a></li>
            </ul>
          </li>
          <li><a href="log-dbdynamic-mysql.html">数据库动态脱敏</a>
            <ul class="lastmenu">
              <li> <a href="log-dbdynamic-mysql.html">MySql</a></li>
            </ul>
          </li>
          <li><a href="log-filestatic.html">文件静态脱敏</a></li>
          <li><a href="log-filedynamic.html">文件动态脱敏</a></li>
        </ul>
      </li>

      <li> <a href="javascript:void(0);"><i class="icon-profile"></i><span>运维审计日志</span></a><em class="open"></em>
        <ul>
          <li><a href="log-operation.html">数据运维日志</a></li>
        </ul>
      </li>

      <li> <a href="log-platform.html"><i class="icon-dvr"></i><span>系统审计日志</span></a><em class="open"></em>
        <ul>
          <li><a href="log-platform.html">监管平台日志</a></li>
          <li><a href="log-probedevice.html">探针设备日志</a></li>
          <li><a href="log-desensitization.html">脱敏设备日志</a></li>
          <li><a href="log-operationdevice.html">运维设备日志</a></li>
        </ul>
      </li>
    </ul>
  </div>
  <div class="sys-main" id="sys-main">
    <div class="sys-title"><h2>FTP采集日志</h2></div>

    <div class="sys-content">

      <div class="panel">
        <div class="panel-head">
          <div class="panel-title">
            <h3>日志列表</h3>
          </div>
          <a id="asbtn" class="arr fr"  href="javascript:void(0)">高级检索<em></em></a>
          <div class="filter">
            <input type="text" placeholder="选择时间范围" value="2017-08-25 ~ 2017-08-25">
            <div class="fm-group">
              <select>
                <option value="数据资源名称">数据资源名称</option>
                <option value="客户端名称">客户端名称</option>
                <option value="客户端IP">客户端IP</option>
              </select>
              <input type="text" placeholder="请输入关键词查询" id="keyword">
            </div>
            <button class="btn" id="searchbtn">检索</button>
          </div>

        </div>
        <div class="panel-body">

          <div class="advanced-search" style="display:none;">
            <div class="as-item">
              <div class="as-item-tit">关键词</div>
              <div class="as-item-con">
                <span style="margin-left:-3px;"><input type="text" placeholder="客户端IP"></span><span><input type="text" placeholder="文件名"></span>
              </div>
            </div>

            <div class="as-item">
              <div class="as-item-tit">资源名称</div>
              <div class="as-item-con">
                <ul class="check-group check-radio">
                  <li><a href="javascript:void(0);">联通FTP</a></li>
                  <li class="active"><a href="javascript:void(0);">电信FTP</a></li>
                  <li><a href="javascript:void(0);">WIFI-FTP集群</a></li>
                  <li><a href="javascript:void(0);">宾馆采集集群</a></li>
                </ul>
              </div>
            </div>
            <div class="as-item">
              <div class="as-item-tit">客户端名称</div>
              <div class="as-item-con">
                <ul class="check-group check-radio">
                  <li class="active"><a href="javascript:void(0);">宾馆源</a></li>
                  <li><a href="javascript:void(0);">网吧源</a></li>
                  <li><a href="javascript:void(0);">WIFI源</a></li>
                  <li><a href="javascript:void(0);">联通源</a></li>
                  <li><a href="javascript:void(0);">电信源</a></li>
                  <li><a href="javascript:void(0);">其他</a></li>
                </ul>
              </div>
            </div>
            <div class="as-item">
              <div class="as-item-tit">操作类型</div>
              <div class="as-item-con">
                <ul class="check-group check-radio">
                  <li class="active"><a href="javascript:void(0);" title="Select&#10;Grant&#10;Login&#10;Get">查询</a></li>
                  <li><a href="javascript:void(0);" title="Createtable&#10;PUT&#10;Insert&#10;Addcolumn">写入</a></li>
                  <li><a href="javascript:void(0);" title="Update&#10;Rename">修改</a></li>
                  <li><a href="javascript:void(0);" title="Drop&#10;Delete &#10;Deletetable">删除</a></li>
                </ul>
              </div>
            </div>
            <div class="as-item">
              <div class="as-item-tit">风险级别</div>
              <div class="as-item-con">
                <ul class="check-group check-radio">
                  <li><a href="javascript:void(0);">高</a></li>
                  <li><a href="javascript:void(0);">中</a></li>
                  <li><a href="javascript:void(0);">低</a></li>
                  <li><a href="javascript:void(0);">一般</a></li>
                  <li><a href="javascript:void(0);">其他</a></li>
                </ul>
              </div>
            </div>
            <div class="as-item">
              <div class="as-item-tit">其他</div>
              <div class="as-item-con">
               <select>
                <option>执行结果</option>
                <option>成功</option>
                <option>失败</option>
              </select>
              <span>时间范围：<input class="long" type="text" placeholder="选择时间范围" value="2017-08-25 ~ 2017-08-25"></span>
            </div>
          </div>

          <div class="as-item as-item-btnbar">
            <button class="btn btn-sm btn-minor">检索</button>
          </div>
        </div>


        <table  class="table table-striped">
         <thead>
          <tr>
            <th class="field no-sort" width="60"><a class="colbtn no-sort" href="javascript:void(0)"><i class="icon-eye-o"></i></a>
              <ul class="field-list">
                <li class="checked">资源名称</li>
                <li class="checked">资源IP</li>
                <li class="checked">客户端名称</li>
                <li class="checked">客户端IP</li>
                <li class="checked">操作类型</li>
                <li class="checked">文件名称</li>
                <li class="checked">操作结果</li>
                <li class="checked">影响条数</li>
                <li class="checked">风险级别</li>
                <li class="checked">操作时间</li>
              </ul>
            </th>
            <th>资源名称</th>
            <th>资源IP</th>
            <th>客户端名称</th>
            <th>客户端IP</th>
            <th>操作类型</th>
            <th>文件名称</th>
            <th>操作结果</th>
            <th>影响条数</th>
            <th>风险级别</th>
            <th>操作时间</th>
          </tr>
        </thead>
        <tbody>
          <tr>
            <td>1</td>
            <td><a href="javascript:void(0);">电信FTP</a></td>
            <td>182.122.176.42</td>
            <td>RDB-BASE</td>
            <td>182.122.176.42</td>
            <td>查询</td>
            <td>文件名称</td>
            <td><span class="badge badge-success">成功</span></td>
            <td>134112</td>
            <td><span class="badge fc-danger">高</span></td>
            <td>2017-08-25 21:21:35</td>
          </tr>
          <tr>
            <td>2</td>
            <td><a href="javascript:void(0);">电信FTP</a></td>
            <td>172.22.176.124</td>
            <td>RDB-BAS</td>
            <td>172.22.176.124</td>
            <td>查询</td>
            <td>100</td>
            <td><span class="badge badge-success">成功</span></td>
            <td>12341</td>
            <td><span class="badge fc-danger">高</span></td>
            <td>2017-08-25 20:21:33</td>
          </tr>
          <tr>
            <td>3</td>
            <td><a href="javascript:void(0);">电信FTP</a></td>
            <td>172.22.176.201</td>
            <td>RDB-BAS</td>
            <td>172.22.176.201</td>
            <td>查询</td>
            <td>786</td>
            <td><span class="badge badge-success">成功</span></td>
            <td>2366</td>
            <td><span class="badge fc-danger">高</span></td>
            <td>2017-08-25 18:21:35</td>
          </tr>
          <tr>
            <td>4</td>
            <td><a href="javascript:void(0);">电信FTP</a></td>
            <td>122.126.176.24</td>
            <td>RDB-BASE</td>
            <td>122.126.176.24</td>
            <td>查询</td>
            <td>678</td>
            <td><span class="badge badge-success">成功</span></td>
            <td>786</td>
            <td><span class="badge fc-warning">中</span></td>
            <td>2017-08-25 17:21:13</td>
          </tr>
          <tr>
            <td>5</td>
            <td><a href="javascript:void(0);">电信FTP</a></td>
            <td>122.43.176.37</td>
            <td>RDB-BAS</td>
            <td>122.43.176.37</td>
            <td>查询</td>
            <td>46</td>
            <td><span class="badge badge-success">成功</span></td>
            <td>678</td>
            <td><span class="badge fc-danger">高</span></td>
            <td>2017-08-25 15:44:35</td>
          </tr>
          <tr>
            <td>6</td>
            <td><a href="javascript:void(0);">电信FTP</a></td>
            <td>122.55.176.64</td>
            <td>RDB-BAS</td>
            <td>122.55.176.64</td>
            <td><span class="fc-danger">删除</span></td>
            <td>246</td>
            <td><span class="badge badge-success">成功</span></td>
            <td>43456</td>
            <td><span class="badge fc-danger">高</span></td>
            <td>2017-08-25 14:21:11</td>
          </tr>
          <tr>
            <td>7</td>
            <td><a href="javascript:void(0);">电信FTP</a></td>
            <td>122.22.176.67</td>
            <td>RDB-BASE</td>
            <td>122.22.176.67</td>
            <td><span class="fc-danger">编辑</span></td>
            <td>567</td>
            <td><span class="badge badge-success">成功</span></td>
            <td>2456</td>
            <td><span class="badge fc-danger">高</span></td>
            <td>2017-08-25 13:21:24</td>
          </tr>
          <tr>
            <td>8</td>
            <td><a href="javascript:void(0);">电信FTP</a></td>
            <td>122.22.176.24</td>
            <td>RDB-BAS</td>
            <td>122.22.176.24</td>
            <td>查询</td>
            <td>622</td>
            <td><span class="badge badge-success">成功</span></td>
            <td>567</td>
            <td><span class="badge fc-warning">中</span></td>
            <td>2017-08-25 12:16:35</td>
          </tr>
          <tr>
            <td>9</td>
            <td><a href="javascript:void(0);">电信FTP</a></td>
            <td>122.221.176.214</td>
            <td>RDB-BAS</td>
            <td>122.221.176.214</td>
            <td>查询</td>
            <td>928</td>
            <td><span class="badge badge-success">成功</span></td>
            <td>622</td>
            <td><span class="badge">低</span></td>
            <td>2017-08-25 11:10:35</td>
          </tr>
          <tr>
            <td>10</td>
            <td><a href="javascript:void(0);">电信FTP</a></td>
            <td>122.202.176.87</td>
            <td>RDB-BASE</td>
            <td>122.202.176.87</td>
            <td>查询</td>
            <td>93</td>
            <td><span class="badge badge-success">成功</span></td>
            <td>928</td>
            <td><span class="badge fc-danger">高</span></td>
            <td>2017-08-25 09:09:35</td>
          </tr>
          <tr>
            <td>11</td>
            <td><a href="javascript:void(0);">电信FTP</a></td>
            <td>122.22.176.24</td>
            <td>RDB-BAS</td>
            <td>122.22.176.24</td>
            <td>查询</td>
            <td>784</td>
            <td><span class="badge badge-danger">失败</span></td>
            <td>88193</td>
            <td><span class="badge fc-danger">高</span></td>
            <td>2017-08-24 16:21:35</td>
          </tr>
          <tr>
            <td>12</td>
            <td><a href="javascript:void(0);">电信FTP</a></td>
            <td>122.133.176.24</td>
            <td>RDB-BAS</td>
            <td>122.133.176.24</td>
            <td>查询</td>
            <td>622</td>
            <td><span class="badge badge-danger">失败</span></td>
            <td>784</td>
            <td><span class="badge fc-danger">高</span></td>
            <td>2017-08-24 15:21:35</td>
          </tr>
          <tr>
            <td>13</td>
            <td><a href="javascript:void(0);">电信FTP</a></td>
            <td>122.52.176.24</td>
            <td>RDB-BASE</td>
            <td>122.52.176.24</td>
            <td><span class="fc-danger">编辑</span></td>
            <td>928</td>
            <td><span class="badge badge-success">成功</span></td>
            <td>9867</td>
            <td><span class="badge fc-danger">高</span></td>
            <td>2017-08-24 14:21:34</td>
          </tr>
          <tr>
            <td>14</td>
            <td><a href="javascript:void(0);">电信FTP</a></td>
            <td>122.51.176.214</td>
            <td>RDB-BAS</td>
            <td>122.51.176.214</td>
            <td>查询</td>
            <td>93</td>
            <td><span class="badge badge-success">成功</span></td>
            <td>7621</td>
            <td><span class="badge fc-danger">高</span></td>
            <td>2017-08-24 13:21:32</td>
          </tr>
          <tr>
            <td>15</td>
            <td><a href="javascript:void(0);">电信FTP</a></td>
            <td>122.51.176.152</td>
            <td>RDB-BAS</td>
            <td>122.51.176.152</td>
            <td><span class="fc-danger">编辑</span></td>
            <td>784</td>
            <td><span class="badge badge-success">成功</span></td>
            <td>1345</td>
            <td><span class="badge">低</span></td>
            <td>2017-08-24 09:20:30</td>
          </tr>
        </tbody>
      </table>
    </div><!--panel-body end-->
    <div class="panel-foot">
      <div class="btns"><button class="btn btn-minor">导出日志</button></div>
      <div class="page">
        <ul class="pagination">
          <li class="disabled"><a href="javascript:void(0);">&lt;</a></li>
          <li class="active"><a href="javascript:void(0);">1</a></li>
          <li><a href="javascript:void(0);">2</a></li>
          <li><a href="javascript:void(0);">3</a></li>
          <li><a href="javascript:void(0);">4</a></li>
          <li><a href="javascript:void(0);">5</a></li>
          <li><a href="javascript:void(0);">&gt;</a></li>
          <li class="go"><input type="text" title="输入页码跳转"></li>
        </ul>
      </div>
    </div><!--panel-foot end-->
  </div>
</div>
</div>



<div class="dialog" id="info">
  <div class="dialog-win">
    <div class="dialog-head"><span>日志详情</span><a class="close" href="javascript:void(0);"><i class="icon-close"></i></a></div>
    <div class="dialog-body">
      <table class="table-basic">
        <tbody>
          <tr>
            <td class="tdtit">日志来源</td>
            <td>探针001</td>
            <td class="tdtit">操作时间</td>
            <td>2017-08-25 21:21:35</td>
          </tr>
          <tr>
            <td class="tdtit">风险级别</td>
            <td>高</td>
            <td class="tdtit">ID</td>
            <td>1001</td>
          </tr>
          <tr>
            <td class="tdtit">会话ID</td>
            <td>924321</td>
            <td class="tdtit">数据库连接帐号</td>
            <td>root</td>
          </tr>
          <tr>
            <td class="tdtit">客户端IP</td>
            <td>122.126.176.24</td>
            <td class="tdtit">客户端端口</td>
            <td>2336</td>
          </tr>
          <tr>
            <td class="tdtit">客户端MAC地址</td>
            <td>23-DB-72-E7-S8-23-9S</td>
            <td class="tdtit">客户端系统帐号</td>
            <td>admin</td>
          </tr>
          <tr>
            <td class="tdtit">客户端系统主机名</td>
            <td>PC-3001</td>
            <td class="tdtit">客户端工具</td>
            <td>chrome</td>
          </tr>
          <tr>
            <td class="tdtit">审计对象</td>
            <td>Oracel基础资源</td>
            <td class="tdtit">数据库名称</td>
            <td>ODB-2001</td>
          </tr>
          <tr>
            <td class="tdtit">数据库类型</td>
            <td>Oracel 11g</td>
            <td class="tdtit">服务器MAC地址</td>
            <td>22-E7-S8-23-9S-J2-D3</td>
          </tr>
          <tr>
            <td class="tdtit">服务器IP</td>
            <td>122.126.176.24</td>
            <td class="tdtit">服务器端口</td>
            <td>2336</td>
          </tr>
          <tr>
            <td class="tdtit">表名</td>
            <td>t-info,t-base,t-user</td>
            <td class="tdtit">操作类型</td>
            <td>查询</td>
          </tr>
          <tr>
            <td class="tdtit">操作语句</td>
            <td colspan="3">select * from t-info a,t-base b, t-user c where a.id=b.id and b.id=c.id order by a.id desc</td>
          </tr>
          <tr>
            <td class="tdtit">执行结果</td>
            <td><span class="badge badge-success">成功</span></td>
            <td class="tdtit">返回记录</td>
            <td>3215</td>
          </tr>
          <tr>
            <td class="tdtit">返回结果</td>
            <td colspan="3"><span class="badge">id /number</span><span class="badge">name /varchar</span><span class="badge">date /date</span><span class="badge">tel /number</span><span class="badge">password /varchar</span></td>
          </tr>
        </tbody>
      </table>

    </div>
  </div>
</div>
<!--dialog end-->
</body>
</html>
<script>

  (function($){
    $(window).load(function(){
      $(".scrollbar").mCustomScrollbar({
        horizontalScroll:true,
        autoHideScrollbar:true,
        advanced:{
          autoExpandHorizontalScroll:true
        }
      });
    });
  })(jQuery);

  $(document).ready(function(){
   $("#asbtn").on("click",function(){
    $("em",this).hasClass('open') ? $("em",this).removeClass('open') : $("em",this).addClass('open');
    $(".advanced-search,.filter").toggle(200);
  })


   $(".table tr").on("click", "td:eq(1) a", function() {
    $("#info").show();
  })

// 表格字段显示begin
$(".field").on("click", "a", function() {
  $(this).next("ul").slideToggle(200);
})

$(".field").on("click", "li", function() {
  var col_index = $(this).index()+1;
  var table=$(this).parents("table");
  if($(this).hasClass('checked')) {
    if($(this).parent().find(".checked").length<4){
      alert("最少保留显示3个字段");
      return
    }
    $(this).removeClass('checked')
    table.find("thead th:eq("+col_index+")") .hide();
    table.find("tr").each(function() {
      $(this).children("td:eq("+col_index+")").hide();
    });
  }else{
   $(this).addClass('checked')
   table.find("thead th:eq("+col_index+")") .show();
   table.find("tr").each(function() {
    $(this).children("td:eq("+col_index+")").show();
  });
 }
})
  // 表格字段显示end

})


</script>